package com.ice.chatserver.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
* @author ice2020x
* @Date: 2023/2/3
* @Description:
**/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "sequence")
public class SeqInfo {
    /**
     * 主键
     */
    @Id
    private String id;
    /**
     * 集合名称
     */
    private String collName;
    /**
     * 序列值
     */
    private Long seqId;
}